package com.zh.common.annotation;

import com.zh.common.enums.LogicType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface NeedRoles {
    String[] value() default {};
    LogicType logic() default LogicType.OR;
}
